package com.payment.paymentmanagersystem.controller;

import org.springframework.web.bind.annotation.RestController;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 控制器类
 * API 请求接口
 * @author 李耀华
 * @date 2023年6月14日
 */

@RestController
public class HomeController {
    /**
     * 测试请求方法
     *
     */
    @CrossOrigin
    @RequestMapping(value = "/getTest", method = RequestMethod.GET, produces = "application/json; utf-8")
    public String getTest(){
        return "Hello SSL !";
    }
}